package com.yanqu.road.entity.log.cross.chuhan;

import com.alibaba.fastjson.JSONObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.List;

// 不需要了吧
@FieldTypeAnnotation(tableName = "t_l_ck_chuhan_log_choose_birth", desc = "楚汉争霸-迁都", dataUpload = true, autoSave = true, uploadCk = true, isCross = true, eventName = "chuhan_migrate")
public class LogChuHanChooseBirthCity extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会活动分组ID", dataAttribute = "group_id")
    private int groupId;
    @FieldTypeAnnotation(desc = "阵营", dataAttribute = "team_id")
    private int camp;
    @FieldTypeAnnotation(desc = "城市id", dataAttribute = "chasedeer_cityid")
    private int cityId;

    public LogChuHanChooseBirthCity(int activityId, long userId, int groupId, int camp, int cityId) {
        this.activityId = activityId;
        this.userId = userId;
        this.groupId = groupId;
        this.camp = camp;
        this.cityId = cityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }
}
